package cn.demo.service0;


public class User {

	private int id;
	private String name;

	private Student student;

	public User() {
	}

	public int getId() {
		return id;
	}

	public User setId(int id) {
		this.id = id;
		return this;
	}

	public String getName() {
		return name;
	}

	public User setName(String name) {
		this.name = name;
		return this;
	}

	public Student getStudent() {
		return student;
	}

	public User setStudent(Student student) {
		this.student = student;
		return this;
	}

	@Override
	public String toString() {
		return "User{" + "id=" + id + ", name='" + name + '\''
				+ ", student=" + student + '}';
	}
}
